package com.shiguiwu.springmybatis.spring.transaction.demo;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @description: 测试类
 * @author: stone
 * @date: Created by 2022/1/9 11:16
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.transaction.demo
 */
public class DemoTests {


    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(TransactionConfig.class);
        ServiceTxA serviceTxA = context.getBean(ServiceTxA.class);
        serviceTxA.m1();

    }
}
